#include "ObjectBoolean.hpp"
#include "Object.hpp"

namespace Pdf
{
    Boolean::Boolean()
        : value(false)
    {
    }

    Boolean::Boolean(Object const & object)
        : value(object.getBoolean())
    {
    }

    Boolean::operator bool() const
    {
        return value;
    }
}